package com.ruibang.glass.purchase.mapper;


import com.ruibang.glass.purchase.entity.PurchaseArrivalProduct;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 采购到货单表 Mapper 接口
 * </p>
 *
 * @author mameng
 * @since 2024-03-28
 */
@Mapper
public interface PurchaseArrivalProductMapper extends CommonMapper<PurchaseArrivalProduct> {

    List<PurchaseArrivalProduct> getSelectPurchaseArrivalProductList(@Param("ids") List<String> collect);

    List<PurchaseArrivalProduct> getSelectPurchaseArrivalProductAndCodeList(@Param("collect") List<String> collect, @Param("code") String code);


    List<PurchaseArrivalProduct> getBrocadeByNumberAndCode(@Param("collect") List<String> collect, @Param("code") String code);

    List<PurchaseArrivalProduct> getBatchNumberByNumberAndCode(@Param("barcodeNumber") String barcodeNumber, @Param("code") String code);

}
